package cn.zhentao.service;

import cn.zhentao.pojo.Teacher;

import java.util.List;

public interface TeacherService {

    List<Teacher> findAll();

    List<Teacher> findByName(String tName);

    int delTeacher(int tId);

    Teacher login(String tName,String passowrd);
}
